﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Calculator
{
    public partial class StartBoard : Form
    {
        public StartBoard()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            
        }

        private void StartBoard_Shown(object sender, EventArgs e)
        {
            Thread t = new Thread(Newthread);
            t.Start();

           
        }
        private void Newthread()
        {
            Thread.Sleep(3000);

            Control.CheckForIllegalCrossThreadCalls = false;
            this.Hide();
            var calculateboard = new CalculateBoard();
            calculateboard.ShowDialog();
        }

    }
}
